package cn.zwk.eval;

/**
 * 评估规则：表达式字符串，交给表达式引擎（Aviator等）执行。
 * 例如："statusCode == 200 && string.contains(body, 'success')"。
 */
public final class EvaluationRule {
    private final String name;
    private final String expression;

    public EvaluationRule(String name, String expression) {
        this.name = name;
        this.expression = expression;
    }

    public String name() { return name; }
    public String expression() { return expression; }
}

